package ru.efimmatytsin.tweeterella;

import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * Created by Efim Matytsin on 17.02.15.
 */
@Controller
@RequestMapping("/")
public class LandingController {

    @RequestMapping(method = RequestMethod.GET)
    public String initializeView(ModelMap model) {
        //model.addAttribute("message", "Hello world!");
        return "landing";
    }
}
